cmake_minimum_required(VERSION 3.5.1)
project(control)






add_subdirectory(proto)


add_subdirectory(common)

add_subdirectory(controller)

add_subdirectory(tools)

add_subdirectory(integration_tests)


add_library(control_component_lib  control_component.cc  )
target_link_libraries( control_component_lib
cyber
${gflags_LIBRARIES}
canbus_proto
common
control_proto
control_common
controller_agent
common_vehicle_state_proto
planning_proto
prediction_proto
perception_proto

)


add_executable(control_component_demo  control_component_demo.cc)
target_link_libraries(control_component_demo
 control_component_lib
 gtest gtest_main )